//
//  WebServiceRequest.h
//  ERP
//
//  Created by ; on 15/7/29.
//  Copyright (c) 2015年 ShangHai Goldeneye Techonology Co.,Ltd. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "MBProgressHUD.h"
#import "ServiceHelper.h"

@interface WebServiceRequest : NSObject

- (id)init;

- (void)setServiceArgs:(ServiceArgs*)serviceArgs;

//设置显示连接提示框
- (void)setShowLoadingPrompt:(id)showView labelText:(NSString*)labelText;

//同步请求数据
- (ServiceResultModel*)startSyncConnect;

//异步请求数据
-(void)startAsyncConnectCompleted:(finishBlockRequest)finish failed:(failedBlockRequest)failed abnormal:(abnormalBlockRequest)abnormal;

- (void)dealloc;

@end
